package com.base.service.impl;

import com.base.mapper.voipmapper.RechargeErrorLogMapper;
import com.base.po.voip.RechargeErrorLog;
import com.base.po.voip.RechargeErrorLogExample;
import com.base.service.RechargeErrorLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("rechargeErrorLogService")
public class RechargeErrorLogServiceImpl implements RechargeErrorLogService {
	
	@Autowired
	private RechargeErrorLogMapper rechargeErrorLogMapper;

	@Override
	public int countByExample(RechargeErrorLogExample example) {
		return rechargeErrorLogMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(RechargeErrorLogExample example) {
		return rechargeErrorLogMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return rechargeErrorLogMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(RechargeErrorLog record) {
		return rechargeErrorLogMapper.insert(record);
	}

	@Override
	public int insertSelective(RechargeErrorLog record) {
		return rechargeErrorLogMapper.insertSelective(record);
	}

	@Override
	public List<RechargeErrorLog> selectByExample(RechargeErrorLogExample example) {
		return rechargeErrorLogMapper.selectByExample(example);
	}

	@Override
	public RechargeErrorLog selectByPrimaryKey(Integer id) {
		return rechargeErrorLogMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(RechargeErrorLog record, RechargeErrorLogExample example) {
		return rechargeErrorLogMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(RechargeErrorLog record, RechargeErrorLogExample example) {
		return rechargeErrorLogMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(RechargeErrorLog record) {
		return rechargeErrorLogMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(RechargeErrorLog record) {
		return rechargeErrorLogMapper.updateByPrimaryKey(record);
	}
}
